<include file="top" />

<div id="right">
	<h3>添加文章</h3>
	<form method="post" enctype="multipart/form-data">
		<table width="98%" border="0" class="table">
			<tr>
				<td width="16%">*所属栏目：</td>
				<td width="84%"><select name="pid">
						<volist name="cate" id="cate">
						<option value="<{$cate.id}>"><{$cate.big_category_name}></option>
						</volist>
				</select></td>
			</tr>
			<tr>
				<td width="16%">*所属分类：</td>
				<td width="84%"><select name="cid">
						<volist name="ac_data" id="cate">
						<option value="<{$cate.id}>"><{$cate.big_category_name}>--<{$cate.classify_name}></option>
						</volist>

				</select></td>
			</tr>
			<tr>
				<td width="16%">*标题：</td>
				<td width="84%"><input class="w350" type="text" name="title"></td>
			</tr>
			<tr>
				<td width="16%">副标题：</td>
				<td width="84%"><input class="w350" type="text"
					name="sec_title"></td>
			</tr>
			<tr>
				<td width="16%">作者图片：</td>
				<td width="84%"><input type="file" name="author_img"></td>
			</tr>
			<tr>
				<td width="16%">作者相关描述：</td>
				<td width="84%"><textarea id="author_des" name="author_des"
						style="width: 800px; height: 200px;"></textarea></td>
			</tr>
			<tr>
				<td width="16%">文章图标：</td>
				<td width="84%"><input type="file" name="small_icon"></td>
			</tr>
			<tr>
				<td width="16%">右侧图片：</td>
				<td width="84%"><input type="file" name="right_img"></td>
			</tr>
			<tr>
				<td width="16%">右侧图片链接：</td>
				<td width="84%"><input class="w350" type="text" value=""
					name="right_img_link"></td>
			</tr>
			<tr>
				<td width="16%">seo_title：</td>
				<td width="84%"><input class="w350" type="text"
					name="web_title"></td>
			</tr>
			<tr>
				<td width="16%">关键字：</td>
				<td width="84%"><input class="w350" type="text" name="keyword"></td>
			</tr>
			<tr>
				<td width="16%">搜索关键字：</td>
				<td width="84%"><input class="w350" type="text"
					name="search_word"></td>
			</tr>
			<tr>
				<td width="16%">自定义静态化名字：</td>
				<td width="84%"><input class="w350" type="text"
					name="statice_name"></td>
			</tr>
			<tr>
				<td width="16%">文章位置：</td>
				<td width="84%"><input type="radio" value="0" checked="checked"
					name="article_position">右边 <input type="radio" value="1"
					name="article_position">左边</td>
			</tr>
			<tr>
				<td width="16%">排序：</td>
				<td width="84%"><input class="w350" type="text" name="sort"></td>
			</tr>
			<!-- 
				<tr>
					<td width="16%" >缩略图：</td>
					<td width="84%">
						<input type="file" name="t_img">宽<input type="text" value="" name="width">
						高<input type="text" value="" name="height">（不填采用系统默认）
					</td>
				</tr>
				 -->
			<tr>
				<td width="16%">for windows or mac：</td>
				<td width="84%">
					<!-- <input type="radio" value="0" checked="checked" name="pc">不显示 -->
					<input type="radio" value="1" checked="checked" name="pc">for
					windows <input type="radio" value="2" name="pc">for mac
				</td>
			</tr>
			<tr>
				<td width="16%">for windows or mac外链接：</td>
				<td width="84%"><input type="text" class="w350" value=""
					name="out_link"></td>
			</tr>
			<tr>
				<td width="16%">外链接标题：</td>
				<td width="84%"><input type="text" class="w350" value=""
					name="out_link_title"></td>
			</tr>
			<tr>
				<td width="16%">文章页浮动win链接：</td>
				<td width="84%"><input type="text" class="w350" name="win_link"
					value=""></td>
			</tr>
			<tr>
				<td width="16%">文章页浮动mac链接：</td>
				<td width="84%"><input type="text" class="w350" value=""
					name="mac_link"></td>
			</tr>
			<tr>
				<td width="16%">is hot：</td>
				<td width="84%"><input type="radio" value="1" name="is_hot">是
					<input type="radio" value="0" checked="checked" name="is_hot">否
				</td>
			</tr>
			<tr>
				<td width="16%">是否新增：</td>
				<td width="84%"><input type="radio" value="1" name="is_new">是
					<input type="radio" value="0" checked="checked" name="is_new">否
				</td>
			</tr>
			<tr>
				<td width="16%">内容简介：</td>
				<td width="84%"><textarea id="introduce" name="introduce"
						style="width: 400px; height: 100px;"></textarea></td>
			</tr>
			<tr>
				<td width="16%">内容：</td>
				<td width="84%"><textarea id="content" name="content"
						style="width: 800px; height: 300px;"></textarea></td>
			</tr>
			<tr>
				<td width="16%"></td>
				<td width="84%"><input type="submit" value="提交" name="sub"></td>
			</tr>

		</table>
		<script type="text/javascript">
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('#content', {
					allowFileManager : true
				});
			});
			KindEditor.ready(function(K) {
				editor = K.create('#author_des', {
					allowFileManager : true
				});
			});
	</script>
	</form>

</div>
</body>
</html>